package solver;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public class TestGradientDescentSolver {

	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void testProject() {
	/*	double[] theta = {1,2,3,4};
		double[] out = solver.GradientDescentSolver.project(theta, 2.0);
		solver.Utility.printArray(out);*/
		
		double[] theta2 = {-557.5241613158353, 105.61570318691078, 710.9375519996315};
		double[] out = solver.GradientDescentSolver.project(theta2, 220.0);
		solver.Utility.printArray(out);
	}

}
